package org.jeecg.modules.demo.jxcx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.jxcx.mapper.JxcSupplierMapper;
import org.jeecg.modules.demo.jxcx.po.JxcSupplier;
import org.jeecg.modules.demo.jxcx.service.JxcSupplierService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author DeskTop
* @description 针对表【jxc_supplier】的数据库操作Service实现
* @createDate 2024-07-23 17:17:19
*/
@Service
public class JxcSupplierServiceImpl extends ServiceImpl<JxcSupplierMapper, JxcSupplier>
implements JxcSupplierService{

    @Override
    public List<JxcSupplier> getByConpanyId(String companyId) {
        return baseMapper.getByConpanyId(companyId);
    }

    @Override
    public List<JxcSupplier> getBylike(String like, String companyId) {
        return baseMapper.getBylike(like, companyId);
    }

    @Override
    public JxcSupplier getBy(String seller, String companyId) {
        return baseMapper.getBy(seller, companyId);
    }
}
